package com.example.papercut.service.impl.dimension;

import com.example.papercut.entity.dimension.PCTheme;
import com.example.papercut.mapper.dimension.PCThemeMapper;
import com.example.papercut.service.dimension.DimensionService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import java.util.List;

@Service
public class PCThemeServiceImpl implements DimensionService<PCTheme> {

    private final PCThemeMapper ThemeMapper;

    @Autowired
    public PCThemeServiceImpl(PCThemeMapper ThemeMapper) {
        this.ThemeMapper = ThemeMapper;
    }

    @Override
    public List<PCTheme> findAll() {
        return ThemeMapper.findAll();
    }
}